# @staticmethod 静态方法

class Test:

    @staticmethod
    def f(arg1):
        print(f'static method: {arg1}')

    def f2(self, arg2):
        print(f"not  static method {arg2}")

    def f3(arg3):
        print(f'not static method {arg3}')

Test.f('hello')
Test.f2('h','hello2')
Test.f3('hello3')

print('------- instance ------')
tt = Test()
tt.f('hello tt')
tt.f2('hello2')
# tt.f3('hello3')